package No_1.Calculator;

import java.util.Scanner;

/**
 * @Author MDD
 * @Description
 * @Version
 * @Date
 **/
public class Calculation {
    public static void main(String[] args) {
        Calculator ufunc = new Calculator();
        Scanner sc = new Scanner(System.in);
        System.out.print("请输入第一个数：");
        ufunc.x = sc.nextDouble();
        System.out.print("请输入运算符：");
        ufunc.op = sc.next();
        System.out.println("请输入第二个数：");
        ufunc.y = sc.nextDouble();
        ufunc.op();
    }
}
